From 6f455ecab68654e5e448b610b094ccd35e38ec24 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Fri, 7 Oct 2005 13:11:41 +0100 Subject: [PATCH] The hotplug agent sets the path now, but that's not as practical to do with udev rules. So instead, make sure that the path is set in the vif scripts themselves. Signed-off-by: Jeremy Katz --- tools/examples/vif-bridge | 1 + tools/examples/vif-nat | 2 +- tools/examples/vif-route | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/examples/vif-bridge b/tools/examples/vif-bridge index 2a3903a310..0f692d689f 100755 --- a/tools/examples/vif-bridge +++ b/tools/examples/vif-bridge @@ -33,6 +33,7 @@ # Exit if anything goes wrong set -e +export PATH=/sbin:/bin:/usr/bin:/usr/sbin:$PATH echo "*vif-bridge $*" >&2 diff --git a/tools/examples/vif-nat b/tools/examples/vif-nat index 00977f8819..f268fdcedc 100644 --- a/tools/examples/vif-nat +++ b/tools/examples/vif-nat @@ -22,7 +22,7 @@ # Exit if anything goes wrong set -e - +export PATH=/sbin:/bin:/usr/bin:/usr/sbin:$PATH echo "*vif-nat $*" >&2 # Operation name. diff --git a/tools/examples/vif-route b/tools/examples/vif-route index 2c0b2d1d3a..efb83881d2 100755 --- a/tools/examples/vif-route +++ b/tools/examples/vif-route @@ -23,7 +23,7 @@ # Exit if anything goes wrong set -e - +export PATH=/sbin:/bin:/usr/bin:/usr/sbin:$PATH echo "*vif-route $*" >&2 # Operation name. -- 2.30.2